<html>

<head>
	<meta charset="UTF-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=Edge">
	<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,user-scalable=yes">
	<script src="__TEMPLATE__/sysme/js/jquery-1.9.1.min.js"></script>
	<script src="__TEMPLATE__/sysme/js/_user_.js"></script>
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<title>购彩大厅</title>
	<link href="__TEMPLATE__/sysme/css/standard.css" rel="stylesheet">
	<link href="__TEMPLATE__/sysme/css/jquery.mCustomScrollbar.css" rel="stylesheet">
	<link href="__TEMPLATE__/sysme/css/lobby.css" rel="stylesheet">
	<link href="__TEMPLATE__/sysme/css/color_lobby.css" rel="stylesheet">
	<style>
		.top-right span{margin-right:2px;}
	</style>
</head>
 
<body>
	<!-- 购彩大厅 -->
	<div id="showhide-wrap" class="showhide-wrap" style="display: block;">
		<div id="ele-game-wrap" class="ele-game-wrap  clearfix  mCustomScrollbar _mCS_1 mCS-autoHide mCS_no_scrollbar" data-mcs-theme="minimal"
		 style="position: relative; overflow: visible; width: 1920px; height: 929px;">
			<div id="mCSB_1" class="mCustomScrollBox mCS-minimal mCSB_vertical mCSB_outside" tabindex="0">
				<div id="mCSB_1_container" class="mCSB_container mCS_y_hidden mCS_no_scrollbar_y" style="position: relative; top: 0; left: 0; background-color: #FFF;"
				 dir="ltr">
					<div id="ele-live-wrap" class="ele-live-wrap" style="width: 1650px;">
						<div class="wrap-lot clearfix">
							{foreach $all_caipiao as $cpl}
							<div style="width:310px; height: 185px; margin: 0 8px 10px 8px; float: left; 	position: relative;">
								<div class="lottery-lobby showhide-38 ele-live-layout">
									<div class="lottery-lobby-top">
										<div class="top-top">
											<div class="top-left">
												<a href="{:url('Bet/lotteryBetting')}?game_id={$cpl.id}&class_id={$cpl.initial_class_id}">
													<img src="__TEMPLATE__/sysme/images/{$cpl.id}.png" />
												</a>
											</div>
											<div class="top-right">
												<h3>{$cpl.cp_name_new}</h3>
												<div>第{$cpl.qihao}期 </div>
												{if ($cpl.id eq 9)}
												<span style="color: #ff9727;">[ 每周3期 ]</span>
												{else /}
												<span style="color: #ff9727;">[ 每天{$cpl.count}期 ]</span>
												{/if}
											</div>
										</div>
										<div class="top-botton">
											<div class="sq">上期开奖</div>

											{foreach $cpl.kjjg_dating as $kjjgs}
											<div class="ball">
												{$kjjgs}
											</div>
											{/foreach}

										</div>
									</div>
									<div class="lottery-lobby-bottom">
									{if ($cpl.id == 9)}
										<a target="_blank" href="{:url('Lottery/liuhecai')}?uuid=8" style="color:black;">
									{else /}
										<a target="_blank" href="{:url('Lottery/trend')}?czid={$cpl.id}" style="color:black;">
									{/if}
											<div class="btn1">
												<img src="__TEMPLATE__/sysme/images/hmzs.png" />
												<span>号码走势</span>

											</div>
										</a>
										<a target="_blank" href="{:url('show/playWay')}?czid_wf={$cpl.id}" style="color:black;">
											<div class="btn1">
												<img src="__TEMPLATE__/sysme/images/wfgz.png" />
												<span>玩法规则</span>

											</div>
										</a>
										<div class="btn2">
											立即投注
											<a href="{:url('Bet/lotteryBetting')}?game_id={$cpl.id}&class_id={$cpl.initial_class_id}"></a>
										</div>
									</div>
								</div>
							</div>
							{/foreach}
						</div>
					</div>
				</div>
			</div>

		</div>
	</div>

	<script src="__TEMPLATE__/sysme/js/jquery.mCustomScrollbar.concat.min.js"></script>
	<script src="__TEMPLATE__/sysme/js/tool_scroll_game.js"></script>

</body>

</html>